package com.zhdl.hardware_contact.hardware_param.service.dto;

import com.project.common.anotation.Query;
import com.project.common.bean.QueryCriteria;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class ProjectHardwareDictQueryCriteria extends QueryCriteria {

    /**
     * Id
     */
    @Query(type = Query.Type.IN)
    private List<Integer> ids;

    /**
     * 硬件的类型
     */
    @Query(type = Query.Type.IN)
    private List<Integer> hardwareType;

    /**
     * 独特的硬件名称
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String name;

    /**
     * 硬件的通讯方式
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String protocolName;

}
